package com.hxc.basicdata.vo;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 功能描述:  用户完善信息vo
 * @author yzj
 */
public class TUserDetails {

    /** 电话号码 */
    private String phone;
    /** 账户密码 */
    private String password;
    /** 经度 */
    private String longitude;
    /** 纬度 */
    private String latitude;
    /** 家庭地址 */
    private String address;
    /** 账户id */
    private Long userId;
    /** 组别主键 */
    private Long groupId;
    /** 村民信息id */
    private Long villageId;

    public String getPhone() { return phone; }
    public void setPhone(String phone) { this.phone = phone; }

    public String getPassword() { return password; }
    public void setPassword(String password) { this.password = password; }

    public String getLongitude() { return longitude; }
    public void setLongitude(String longitude) { this.longitude = longitude; }

    public String getLatitude() { return latitude; }
    public void setLatitude(String latitude) { this.latitude = latitude; }

    public String getAddress() { return address; }
    public void setAddress(String address) { this.address = address; }

    public Long getUserId() { return userId; }
    public void setUserId(Long userId) { this.userId = userId; }

    public Long getGroupId() { return groupId; }
    public void setGroupId(Long groupId) { this.groupId = groupId; }

    public Long getVillageId() { return villageId; }
    public void setVillageId(Long villageId) { this.villageId = villageId; }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("phone", getPhone())
                .append("password", getPassword())
                .append("longitude", getLongitude())
                .append("latitude", getLatitude())
                .append("address", getAddress())
                .append("userId", getUserId())
                .append("groupId", getGroupId())
                .append("villageId", getVillageId())
                .toString();
    }
}
